#include<stdio.h>

int main( void ) {
    double counter = 3.01, sum = 0.00;

    for( ; counter <= 10.00; )
        sum += ( counter += 0.05 ) - 0.05;

    printf( "Sum is %lf.\n", sum );

    return 0;
}